(Fnetwork_interface_list, Fnetwork_interface_info):
authorKim F. Storm <storm@cua.dk>
Wed, 17 Sep 2003 21:31:53 +0000 (21:31 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 17 Sep 2003 21:31:53 +0000 (21:31 +0000)
commit11033f2f14ea04ef1328b1f216d29a4827c3ce81
treeb2253c8a2f7e3ae8aacb72a1e9f3cf0b281f3fd4
parente21c21e76ade605b71cec1150ea4b72181ac5345
(Fnetwork_interface_list, Fnetwork_interface_info):
Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns.
(Fnetwork_interface_info): Check that ifreq struct has required
fields before accessing them; this requires that those fields are
defined as macros, which may be too restrictive on some platforms,
but it is better than failing on other platforms.
(syms_of_process): Only defsubr above fns when included.
src/process.c